<?php

class {$baseClassName} extends {$extends}
{ldelim}

{$declarations}
	public function __construct($id = null, $lang = null)
	{ldelim}
		parent::__construct($id, null, $lang);
	{rdelim}

	public function getTableName()
	{ldelim}
		return "{$tableName}";
	{rdelim}

	public function getDocumentModel()
	{ldelim}
		return "{$model}";
	{rdelim}
	
	protected function getFieldsBag()
	{ldelim}
		{$allFields}
	{rdelim}

	public function getdefaultPublicationstatus()
	{ldelim}
		return "{$defaultStatus}";
	{rdelim}

	/**
	 * @return boolean
	 */
	public function isRevisable()
	{ldelim}
		return {$isrevisable};
	{rdelim}
	
	/**
	 * @return boolean
	 */
	public function isLocalized()
	{ldelim}
		return {$isLocalized};
	{rdelim}	
	
    /**
	 * @return boolean
	 */
	public function isRecursive()
	{ldelim}
		return $this->isRecursive;
	{rdelim}
	
	/**
	 * @param boolean $value
	 * @return {$baseClassName}
	 */	
	public function setIsRecursive($value)
	{ldelim}
		$this->isRecursive = $value;
	{rdelim}
		
{$methods}

{rdelim}